﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZK.Common.ProModels
{
    public class UserLoginDto : ResultDataBase<UserLoginModel>
    {
        public int codeStatus { get; set; }
    }

    public class UserLoginModel
    {
        //    "avatar": "string",
        public string avatar { get; set; }
        //"deptList": 
        public List<deptModel> deptList { get; set; }
        //"deptName": "string",
        public string deptName { get; set; }
        //"id": 0,
        public int id { get; set; }
        //"loginAccount": "string",
        public string loginAccount { get; set; }
        //"telephone": "string",
        public string telephone { get; set; }
        //"userName": "string"
        public string userName { get; set; }
    }
    public class deptModel
    {

        //  {
        //  "areaId": 0,
        public int areaId { get; set; }
        //  "commonDeptDto": 
        public List<commonDept> commonDeptDto { get; set; }
        //  "createTime": "string",
        public string createTime { get; set; }
        //  "createUserId": 0,
        public int createUserId { get; set; }
        //  "delFlag": 0,
        public int delFlag { get; set; }
        //  "deptId": 0,
        public int deptId { get; set; }
        //  "deptLevelType": 0,
        public int deptLevelType { get; set; }
        //  "deptName": "string",
        public string deptName { get; set; }
        //  "deptNameHeadChar": "string",
        public string deptNameHeadChar { get; set; }
        //  "deptNames": [
        //    "string"
        //  ],
        public List<string> deptNames { get; set; }
        //  "deptShortName": "string",
        public string deptShortName { get; set; }
        //  "deptType": 0,
        public int deptType { get; set; }
        //  "deptTypes": [
        //    0
        //  ],
        public List<int> deptTypes { get; set; }
        //  "id": 0,
        public int id { get; set; }
        //  "idCode": "string",
        public string idCode { get; set; }
        //  "linkman": "string",
        public string linkman { get; set; }
        //  "linkmanTelephone": "string",
        public string linkmanTelephone { get; set; }
        //  "loginAccount": "string",
        public string loginAccount { get; set; }
        //  "orderNum": 0,
        public int orderNum { get; set; }
        //  "pid": 0,
        public int pid { get; set; }
        //  "situation": "string",
        public string situation { get; set; }
        //  "taxNumber": "string",
        public string taxNumber { get; set; }
        //  "telephone": "string",
        public string telephone { get; set; }
        //  "token": "string",
        public string token { get; set; }
        //  "updateUserId": 0,
        public int updateUserId { get; set; }
        //  "userDesc": "string",
        public string userDesc { get; set; }
        //  "userName": "string",
        public string userName { get; set; }
        //  "userSituation": 
        public List<userSituationModel> userSituation { get; set; }
        //  "userType": "string"
        public string userType { get; set; }
        //}
    }

    public class commonDept
    {
        
            //"areaId": 0,
            public int areaId { get; set; }
        //"createTime": "string",
        public string createTime { get; set; }
        //"createUserId": 0,
        public int createUserId { get; set; }
        //"delFlag": 0,
        public int delFlag { get; set; }
        //"deptLevelType": 0,
        public int deptLevelType { get; set; }
        //"deptName": "string",
        public string deptName { get; set; }
        //"deptNameHeadChar": "string",
        public string deptNameHeadChar { get; set; }
        //"deptShortName": "string",
        public string deptShortName { get; set; }
        //"deptType": 0,
        public int deptType { get; set; }
        //"deptTypes": [
        //  0
        //],
        public List<int> deptTypes { get; set; }
        //"id": 0,
        public int id { get; set; }
        //"idCode": "string",
        public string idCode { get; set; }
        //"linkman": "string",
        public string linkman { get; set; }
        //"linkmanTelephone": "string",
        public string linkmanTelephone { get; set; }
        //"mainUser": 0,
        public int mainUser { get; set; }
        //"orderNum": 0,
        public int orderNum { get; set; }
        //"pid": 0,
        public int pid { get; set; }
        //"secondaryUser": 0,
        public int secondaryUser { get; set; }
        //"taxNumber": "string",
        public string taxNumber { get; set; }
        //"updateTime": "string",
        public string updateTime { get; set; }
        //"updateUserId": 0,
        public int updateUserId { get; set; }
        //"userSituation": 
        public List<userSituationModel> userSituation { get; set; }
}
    public class userSituationModel
    {
        //        "situation": 0,
        public int situation { get; set; }
        //        "telephone": "string",
        public string telephone { get; set; }
        //        "userId": 0,
        public int userId { get; set; }
        //        "userName": "string"
        public string userName { get; set; }
    }
}
